λ npx expo run:ios
run the iOS app binary locally
hot reloadingも効く
Introducing: Expo Run Commands. Expo Go can get you from zero to “hello… | by Evan Bacon | Exposition
Logが見やすい
npmとnative部分の対応が表示される
warningやerrorが見やすい
runtime errorもterminalに出してくれる
通常はxcodeを開かないといけないが、それが不要
$ expo run:ios —-device device
実機で実行する時は、これを使う #??
Device name or UDID to build the app on
https://blog.expo.dev/introducing-expo-run-commands-835ae8da4813#:~:text=Development%20Code%20Signing
iOSのコード署名してから実行する
expo run:ios --no-build-cache
Clear the native derived data before building
https://blog.expo.dev/expo-sdk-44-4c4b8306584a#:~:text=more%20helpful%20snippet.-,Added,-the%20new%20expo
$ expo run:ios --configuration <configuration>
Xcode configuration to use. Debug or Release. Default: Debug
https://docs.expo.dev/versions/latest/sdk/updates/#usage
CLI上でjを入力すればdev toolが表示される
Xcode v12を使っていると一回も成功しなかったmrsekut.icon
v13.4.1に上げたら成功した